def iif(condition, trueVal, falseVal):
    if condition:
        return trueVal
    return falseVal